
package edu.java.homework.hw07.part02hw;


/* Êàêúâ ùå å ðåçóëòàòúò îò îïèòà
   äà ñå òðàíñëèðà è èçïúëíè ïðîãðàìàòà.
   Îáÿñíåòå çàùî.
*/


public class Test0508c {
	public static void main(String[] args) {
		int i= 0;

		//C: print the next row
		System.out.println(1 + " : " + i);

		// C: can't come in the for-body because 0<0 is wrong
		for (  ; i<0 ; i++)
			System.out.println(2 + " : " + i);

		// C: the condition is true => we come in the body and print the row.
		//After that we have "break" and we must continue with the next operator after the "for"-statement
		for (  ;   ; i++) {
			System.out.println(3 + " : " + i);
			break;
		}

		// when we come in the for-statement "i=0". So we execute the for-statement 10 times and print the row.
		for (  ; i<10;   ) {
			System.out.println(4 + " : " + i);
			i++;
		}
	}
}

// 1: 0
// 3: 0
// 4: 0
// 4: 1
// 4: 2
// ......
// 4: 9




